<h1>Editing checkout</h1>

<%= error_messages_for :checkout %>

<% form_for(:checkout, :url => checkout_path(@checkout), :html => { :method => :put }) do |f| %>
  <p>
    <b>Name</b><br />
    <%= f.text_field :name %>
  </p>

  <p>
    <b>Checkout</b><br />
    <%= f.date_select :checkout %>
  </p>

  <p>
    <b>Checkin</b><br />
    <%= f.date_select :checkin %>
  </p>

  <p>
    <b>Address</b><br />
    <%= f.text_field :address %>
  </p>

  <p>
    <b>City</b><br />
    <%= f.text_field :city %>
  </p>

  <p>
    <b>State</b><br />
    <%= f.text_field :state %>
  </p>

  <p>
    <b>Phone</b><br />
    <%= f.text_field :phone %>
  </p>

  <p>
    <b>Zip</b><br />
    <%= f.text_field :zip %>
  </p>

  <p>
    <b>Will be</b><br />
    <%= f.text_field :will_be %>
  </p>

  <p>
    <b>Will be comments</b><br />
    <%= f.text_field :will_be_comments %>
  </p>

  <p>
    <b>Have</b><br />
    <%= f.text_field :have %>
  </p>

  <p>
    <b>Have other</b><br />
    <%= f.text_field :have_other %>
  </p>

  <p>
    <b>Will</b><br />
    <%= f.text_field :will %>
  </p>

  <p>
    <b>Children living with</b><br />
    <%= f.text_field :children_living_with %>
  </p>

  <p>
    <b>Notarized on</b><br />
    <%= f.date_select :notarized_on %>
  </p>

  <p>
    <%= submit_tag "Update" %>
  </p>
<% end %>

<%= link_to 'Show', checkout_path(@checkout) %> |
<%= link_to 'Back', checkouts_path %>